#pragma once
#include "CDOCollection.h"

class CTransformCollection :
	public CDOCollection
{
private: 
	CTransformCollection(CCoreServices * pCore);
public: 
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate);
	virtual XUINT32 GetTypeIndex() const;
	virtual XBOOL NeedsOwnerInfo();
	virtual HRESULT OnAddToCollection(CDependencyObject * pDO);
	virtual HRESULT OnRemoveFromCollection(CDependencyObject * pDO, XINT32 iPreviousIndex);
	virtual HRESULT OnClear();
	virtual HRESULT CycleCheck(CDependencyObject * pObject);
private: 
	void OnCollectionChanged();
};